package com.qf.api.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.qf.api.sys.base.BaseEntity;
import lombok.Data;

/**
 * @Author: sin
 * @Date: 2025/5/21 20:55
 * @Description:
 **/
@TableName(value ="sys_role")
@Data
public class SysRoleEntity extends BaseEntity {
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 角色名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 角色编码
     */
    @TableField(value = "code")
    private String code;

    /**
     * 角色状态(1-正常；0-停用)
     */
    @TableField(value = "status")
    private Integer status;

}
